﻿package mortal.game.scene3D.map3D
{
    import com.fyGame.fyMap.*;

    public class MapConst extends Object
    {
        public static var mapPieceXNum:Number;
        public static var mapPieceYNum:Number;
        public static const pieceWidth:int = 256;
        public static const pieceHeight:int = 256;
        public static const mosaicsWidth:int = 5000;
        public static const mosaicsHeight:int = 5000;

        public function MapConst()
        {
            return;
        }// end function

        public static function init(param1:FyMapInfo) : void
        {
            mapPieceXNum = Math.ceil(param1.gridWidth / pieceWidth);
            mapPieceYNum = Math.ceil(param1.gridHeight / pieceHeight);
            return;
        }// end function

    }
}
